package leetcode.code0365;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution365 implements IDebug {
	public abstract boolean canMeasureWater(int jug1Capacity, int jug2Capacity, int targetCapacity);

	@Override
	public void debug1() {
		int jug1Capacity = 3;
		int jug2Capacity = 5;
		int targetCapacity = 4;
		boolean e = true;
		boolean r = this.canMeasureWater(jug1Capacity, jug2Capacity, targetCapacity);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug2() {
		int jug1Capacity = 2;
		int jug2Capacity = 6;
		int targetCapacity = 5;
		boolean e = false;
		boolean r = this.canMeasureWater(jug1Capacity, jug2Capacity, targetCapacity);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug3() {
		int jug1Capacity = 34;
		int jug2Capacity = 5;
		int targetCapacity = 6;
		boolean e = true;
		boolean r = this.canMeasureWater(jug1Capacity, jug2Capacity, targetCapacity);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug4() {
		int jug1Capacity = 104639;
		int jug2Capacity = 104651;
		int targetCapacity = 234;
		boolean e = true;
		boolean r = this.canMeasureWater(jug1Capacity, jug2Capacity, targetCapacity);
		HelpDebug.compare(e, r);

	}

}
